home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / M / MFNotify.cpt / MFNotify.src < prev    next >
Text File  |  1989-11-09  |  1KB  |  32 lines

  1. (Install MultiFinder Notification Manager alert.)
  2. (NOTE: Changes value of S%,I%, and A%)
  3. (Text for dialog box is in T$.)
  4. (Set S% = 0, to play no sound)
  5. (Set S% < 0, to use Control Panel BeepSound
  6. (Set S% > 0, play 'snd ' resource ID number S%)
  7. (For debugging purposes:)
  8. (if (S% > 0) S% returns 0 if no error, 1 if not enough free memory to hold)
  9. (    'snd ' resource, or 2 if 'snd ' resource not found.)
  10. (Set I% = 0, to use no small icon in Apple menu)
  11. (Set I% < 0, use White Knight small icon in Apple menu)
  12. (Set I% > 0, use 'SICN' resource ID number I%)
  13. (For debugging purposes:)
  14. (if (I% > 0) I% returns 0 if no error, 1 if not enough free memory to hold)
  15. (    'snd ' resource, or 2 if 'snd ' resource not found.)
  16.  
  17. (A% holds the result code of the install attempt - I have no idea)
  18. (what they mean except zero is good.)
  19.  
  20. (NOTE: This sample Procedure contains 'snd ' resource ID #8000, which is)
  21. (over 20K in length.  Feel free to ditch it if you don't need it.  However,)
  22. (don't take out 'SICN' resource ID #8000, which is the default WK)
  23. (small icon.)
  24.  
  25. LET EQUAL S%,8000
  26. LET EQUAL I%,-1
  27. COPYINTO T$,White Knight would like your attention.
  28. CONCAT T$,  Please bring it to the front.
  29. RCMD 1,205
  30. SCREEN ON
  31. NESTEND
  32.